package cn.wolfcode.cms.mapper;

import cn.wolfcode.cms.domain.Classification;
import cn.wolfcode.cms.query.QueryObject;

import java.util.List;

public interface ClassificationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Classification record);

    Classification selectByPrimaryKey(Long id);

    List<Classification> selectAll();

    int updateByPrimaryKey(Classification record);

    int queryForCount(QueryObject qo);

    List<Classification> queryForList(QueryObject qo);

    List<String> getClassifyByPsId(Long id);

    Object getClassifyByPsName(String name);
}